<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	welcome!<br>
	<c:set var="ctx" value="${pageContext.request.contextPath}"/>
	<form action="http://localhost:8080/mvcm/jsp/upload.jsp"  method="post" enctype="multipart/form-data">
		<input type="file" name="textfile" /><br>
		<input type="file" name="htmlfile" /><br>
		<input type="file" name="xmlfile" /><br>
		<input type="file" name="jsonfile" /><br>
		<input type="submit" value="上传">
	</form>
	<form action="http://localhost:8080/mvcm/user/fileUpload2"  method="post"enctype="multipart/form-data" >
		<input type="file" name="jsonfile"  /><br>
		<input type="file" name="jsonfile2"  /><br>
		<input type="submit" value="上传">
	</form>
	<form action="http://localhost:8080/mvcm/user/fileUpload3"  method="post"enctype="multipart/form-data" >
		<input type="file" name="upload"  /><br>
		<input type="file" name="upload"  /><br>
		<input type="submit" value="上传3">
	</form>
</body>
</html>